﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using YasharEl.Infrastructure.ObjectFactory;

namespace YasharEl.Infrastructure.ExceptionHandling.Configuration
{
    public partial class ExceptionHandlerConfig
    {
        public void DeserializeElement(XmlReader reader)
        {
            base.DeserializeElement(reader, false);
        }

        public virtual IExceptionHandler CreateExceptionHandler(IDependencyResolver resolver)
        {
            // Could not be abstract because deserialization issues.
            throw new NotImplementedException("Must be implemented in concrete exception handler configuration subclasses.");
        }
    }
}
